package org.theSeed.base.pojo.dto;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * 通用接受单值对象
 * @param <V>
 */
@Setter
@Getter
public class CommonSingle<V> {
    /**
     * 通用值
     */
    @NotNull(message = "value不能为空")
    private V value;
}